﻿@model PerformanceAssessment.Models.Employee
@{
    ViewBag.Title = "Details";
}
<h2>
    Details</h2>
<fieldset>
    <legend>Employee</legend>
    <div style="display: table; width: 100%">
        <div style="display: table-row">
            <div style="display: table-cell">
                <div class="display-label">
                    Team</div>
                <div class="display-field">
                    @ViewBag.TeamName
                </div>
            </div>
            <div style="display: table-cell">
                <div class="display-label">
                    Position</div>
                <div class="display-field">
                    @ViewBag.PositionName
                </div>
            </div>
            <div style="display: table-cell">
                <div class="display-label">
                    Manager</div>
                <div class="display-field">
                    @ViewBag.ManagerName
                </div>
            </div>
            <div style="display: table-cell;">
                <div class="display-label">
                    ID Contractor</div>
                <div class="display-field">
                    @Html.DisplayFor(model => model.IdContractor)
                </div>
            </div>
        </div>
        <div style="display: table-row">
            <div style="display: table-cell">
                <div class="display-label">
                    Identification</div>
                <div class="display-field">
                    @Html.DisplayFor(model => model.Ced)
                </div>
            </div>
            <div style="display: table-cell">
                <div class="display-label">
                    First Name</div>
                <div class="display-field">
                    @Html.DisplayFor(model => model.FirstName)
                </div>
            </div>
            <div style="display: table-cell">
                <div class="display-label">
                    First Last Name</div>
                <div class="display-field">
                    @Html.DisplayFor(model => model.FirstLastName)
                </div>
            </div>
            <div style="display: table-cell">
                <div class="display-label">
                    Second Last Name</div>
                <div class="display-field">
                    @Html.DisplayFor(model => model.SecondLastName)
                </div>
            </div>
        </div>
        <div style="display: table-row">
            <div style="display: table-cell">
                <div class="display-label">
                    Email</div>
                <div class="display-field">
                    @Html.DisplayFor(model => model.Email)
                </div>
            </div>
            <div style="display: table-cell">
                <div class="display-label">
                    Start Date</div>
                <div class="display-field">
                    @Html.DisplayFor(model => model.StartDate)
                </div>
            </div>
            <div style="display: table-cell">
                <div class="display-label">
                    Rate</div>
                <div class="display-field">
                    @Html.DisplayFor(model => model.Rate)
                </div>
            </div>
            <div style="display: table-cell">
                <div class="display-label">
                    Salary</div>
                <div class="display-field">
                    @Html.DisplayFor(model => model.Salary)
                </div>
            </div>
        </div>
        <div style="display: table-row">
            <div style="display: table-cell">
                <div class="display-label">
                    Active</div>
                <div class="display-field">
                    @Html.DisplayFor(model => model.Active)
                </div>
            </div>
            <div style="display: table-cell">
                <div class="display-label">
                    Vacation Approver</div>
                <div class="display-field">
                    @ViewBag.ApproverName
                </div>
            </div>
            <div style="display: table-cell">
            </div>
        </div>
        <div style="display: table-row">
            <div style="display: table-cell">
            </div>
        </div>
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.ID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
